package com.hzj.service;

import com.hzj.pojo.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Service
@FeignClient(name = "PROVIDER-USER-8001", contextId = "wxyUserInfoService")
public interface UserInfoService {

    @PostMapping("/api/user/auth/queryUserInfoById/{id}")
    UserInfo queryUserInfoById(@PathVariable Long id);

    /*UserLoginRecord所有记录数*/
    @PostMapping("/api/user/selectUserLoginRecord")
    public Integer selectUserLoginRecord();

}
